package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@TableName("qc_checkmaterial")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class QcCheckmaterial {
    //INSERT INTO qc_checkmaterial (checkno,mcode,checkman,mkerid,ddate,mkerdate,billtyp,srcbillno,istates,wpno,linesno,tm,chkresult,dno,value,deviceno,numericdatatime)
    //VALUES (@billno,@mcode,@userno,@userno,getdate(),getdate(),@xjtype,@pgd,2,@gw,@linesno,@pc,@checkresult,@dno,@result,@deviceno,cast(@time as datetime))

    @TableField("checkno")
    private String checkno;

    @TableField("mcode")
    private String mcode;

    @TableField("checkman")
    private String checkman;

    @TableField("mkerid")
    private String mkerid;

    @TableField("ddate")
    private Date ddate;

    @TableField("mkerdate")
    private Date mkerdate;

    @TableField("billtyp")
    private Integer billtyp;

    @TableField("srcbillno")
    private String srcbillno;

    @TableField("istates")
    private Integer istates;

    @TableField("wpno")
    private String wpno;

    @TableField("linesno")
    private String linesno;

    @TableField("tm")
    private String tm;

    @TableField("chkresult")
    private Integer chkresult;

    @TableField("dno")
    private String dno;

    @TableField("value")
    private BigDecimal value;

    @TableField("deviceno")
    private String deviceno;

    @TableField("numericdatatime")
    private Date numericdatatime;

    @TableField("remark1")
    private String remark1;
}
